package com.crm.dao.mapper.orderManager;

import com.crm.model.entity.orderManager.CustomerProductOrder;
import com.crm.model.entity.orderManager.CustomerProductOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CustomerProductOrderMapper {
    long countByExample(CustomerProductOrderExample example);

    int deleteByExample(CustomerProductOrderExample example);

    int deleteByPrimaryKey(String productOrderId);

    int insert(CustomerProductOrder record);

    int insertSelective(CustomerProductOrder record);

    List<CustomerProductOrder> selectByExampleWithBLOBs(CustomerProductOrderExample example);

    List<CustomerProductOrder> selectByExample(CustomerProductOrderExample example);

    CustomerProductOrder selectByPrimaryKey(String productOrderId);

    int updateByExampleSelective(@Param("record") CustomerProductOrder record, @Param("example") CustomerProductOrderExample example);

    int updateByExampleWithBLOBs(@Param("record") CustomerProductOrder record, @Param("example") CustomerProductOrderExample example);

    int updateByExample(@Param("record") CustomerProductOrder record, @Param("example") CustomerProductOrderExample example);

    int updateByPrimaryKeySelective(CustomerProductOrder record);

    int updateByPrimaryKeyWithBLOBs(CustomerProductOrder record);

    int updateByPrimaryKey(CustomerProductOrder record);
}